{% extends "base.html" %}

{% block content %}

{% if message %}
      {{ message|safe }}
{% endif %}

<h2>{{ event.name }}</h2>

capacity: {{ event.capacity }}

{% for participant in participants %}
  <p>{{ participant }}</p>
{% endfor %}

<a href="/events/{{ event.id }}/edit/">edit</a>
<a href="/events/{{ event.id }}/signup/">Sign up</a>

{% endblock %}